﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MyBBS.Data.Models;

namespace MyBBS.Data.Filters
{
    public static class TagFilter
    {
        public static Tag WithIDEquals(this IList<Tag> tags, long tagID)
        {
            return tags.SingleOrDefault(t => t.ID == tagID);
        }
    }
}
